#ifndef _DIM_SUM_SIMPLE_CONSOLE_H
#define _DIM_SUM_SIMPLE_CONSOLE_H
#include <dim-sum/types.h>
struct simple_console_device {
	struct console *con;
	void __iomem *membase;
};

struct simple_console_id {
	char	name[32];
	int	(*init)(struct simple_console_device *, void *options);
	struct double_list list;
} __aligned(32);
int uart_init(void);
void __iomem *simple_console_map(phys_addr_t paddr, size_t size);
int setup_simple_console_by_name(const char *compatible, uint32_t len, phys_addr_t membase, void *opt);
#endif /* _DIM_SUM_SIMPLE_CONSOLE_H */
